﻿using LearnMAUI2.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LearnMAUI2.Services
{
    public interface ITodayPoetryService
    {
        Task<TodayPoetry> GetTodayPoetryAsync();

        Task<TodayPoetry> GetRandomPoetryAsync();
        Task<string> GetTokenAsync();       
    }
    //来自本地还是来自Web
    public static class TodayPoetrySources
    {
        public const string Remote = nameof(Remote);
        public const string Local = nameof(Local);
    }
}
